package com.infinit.selfhelp.common.base

import android.os.Bundle
import android.os.PersistableBundle
import androidx.appcompat.app.AppCompatActivity
import com.infinit.selfhelp.common.loading.CommonLoadingDelegate
import com.infinit.selfhelp.common.loading.ILoadingDelegate
import com.infinit.selfhelp.common.loading.LoadingDialogManager

abstract class BaseActivity:AppCompatActivity(), LoadingDialogManager {
    override fun onCreate(savedInstanceState: Bundle?, persistentState: PersistableBundle?) {
        super.onCreate(savedInstanceState, persistentState)

    }
    override val loadingDelegate: ILoadingDelegate by lazy {
        CommonLoadingDelegate()
    }
}